<div class="page">
	<div class="pageContent">
		<form id="navigationAddChildren" type="put" action="pay/{pay_id}" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone);">
			<div class="pageFormContent" layoutH="57" action="pay/{pay_id}" bind="bindPayInfo" >
				<fieldset>
					<legend>支付明细</legend>
					<div class="unit">
						<label>第*次支付：</label> <input name="ord" class="required" type="text" size="30" value="${ord}" />
					</div>
					<div class="unit">
						<label>支付日期：</label> <input name="paydate" class="required date" type="text" size="30" value="${paydate}" readonly="readonly"/>
					</div>
					<div class="unit">
						<label>支付金额：</label> <input name="payprice" class="required" type="text" size="30" value="${payprice}" focus=true/>
					</div>
				</fieldset>
			</div>
			<div class="formBar">
				<ul>
					<li><div class="buttonActive">
							<div class="buttonContent">
								<button type="submit" class="ok">提交</button>
							</div>
						</div></li>
					<li><div class="button">
							<div class="buttonContent">
								<button type="button" class="close">取消</button>
							</div>
						</div></li>
				</ul>
			</div>
		</form>
	</div>
	
	<script>
		//自定义绑定方法
		//data-pay信息
		//$dom-pageFormContent对应的jqueryDOM对象
		function bindPayInfo(data, $dom) {
			//在此处写绑定方法
			$("input[name=ord]", $dom).val(data.ord).focus();
			$("input[name=paydate]", $dom).val(data.paydate);
			$("input[name=payprice]", $dom).val(data.payprice);
		}
	</script>
</div>